package gui.abstracts;

public class ContainerAbstractObject {


	private AbstractPanel abstractPanel;
	private AbstractTable abstractTable;
	
	private static ContainerAbstractObject contAbstrObject = null;

	private ContainerAbstractObject() {

	}

	public static ContainerAbstractObject getInstance() {
		if (contAbstrObject == null) {
			contAbstrObject = new ContainerAbstractObject();
		}
		return contAbstrObject;
	}
	
	public void setAbstractPanel(AbstractPanel abstractPanel){
		this.abstractPanel = abstractPanel;
	}
	
	public void setAbstractTable(AbstractTable abstractTable){
		this.abstractTable = abstractTable;
	}
	
	public AbstractPanel getAbstractPanel() {
		return abstractPanel;
	}

	public AbstractTable getAbstractTable() {
		return abstractTable;
	}

}
